<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>修改维修记录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="resources/layui/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="resources/layui/css/public.css" media="all" />
    <style>
        input:disabled{
            background-color: white!important;
            border:none;
        }
    </style>
</head>
<body class="childrenBody">
<form class="layui-form" style="width: 100%;" id="dataFrm">
    <input id="id" name="id" type="hidden">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">车牌号:</label>
        <div class="layui-input-block">
            <input id="carNo"  name="car.id" class="layui-input" disabled="disabled">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">维修厂:</label>
        <div class="layui-input-block">
            <input id="repairNo"  name="currentUnit.id" class="layui-input" disabled="disabled">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">送修时间:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input send_time" name="send_time" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label" style="white-space:nowrap">预计取车日期:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input estimate_time" name="estimate_time" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">送修原因:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input send_reason" name="send_reason" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">送修备注:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input send_remarks" name="send_remarks" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">经办人:</label>
        <div class="layui-input-block">
            <input id="userNo" name="user.id" class="layui-input" disabled="disabled">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">维修类型:</label>
        <div class="layui-input-block">
            <input id="repairTypeNo" name="dictionary.id" class="layui-input" disabled="disabled">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">取车日期:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input get_time" name="get_time" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">维修费用:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input repair_cost" name="repair_cost" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">维修项目:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input repair_option" name="repair_option" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">使用材料:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input use_stuff" name="use_stuff" disabled="disabled">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">取车备注:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input get_remarks" name="get_remarks" disabled="disabled">
        </div>
    </div>
</form>
<script type="text/javascript" src="resources/layui/layui/layui.js"></script>
<script th:inline="none">
    layui.use(['form','layer','laydate','table','laytpl','upload'],function() {
        var form = layui.form,
            layer = parent.layer === undefined ? layui.layer : top.layer,
            $ = layui.jquery,
            laydate = layui.laydate,
            laytpl = layui.laytpl,
            table = layui.table;
            upload=layui.upload;
        //生日框的时间插件绑定
        laydate.render({
            elem: ".send_time,.estimate_time,.get_time" ,//指定元素
            //type:'datetime'
        });
    })
</script>
</body>
</html>